local Arty_Scheduler_Khaimah_01 = SCHEDULER:New(nil, function ()
    
    if BLUEBASE_Khaimah:GetFirstAliveGroup() ~= nil and Arty_Khaimah_01 and Khaimah_Arty_01 then -- 检测蓝方基地是否存在，以及红方火炮是否存活
        if GROUP:FindByName("Arty Rearming-1") then
            Arty_Khaimah_01:SetRearmingGroup(GROUP:FindByName("Arty Rearming-1"))
        end

        if Khaimah_Arty_01:GetFirstAliveGroup() ~= nil then
            Arty_Khaimah_01:AssignTargetCoord(BLUEBASE_Khaimah:GetFirstAliveGroup():GetCoordinate(), 10, nil, 20, 10)
            Arty_Khaimah_01:Start()
        end
    end
    MESSAGE:New("火箭炮Schedule", 10, "DEBUG", false):ToAll()
end, {}, 1, 10)